//
//  LGSAndGate.h
//  LogicSim
//
//  Created by Jeremy Pereira on 04/04/2012.
//  Copyright (c) 2012 Jeremy Pereira. All rights reserved.
//

/*!
 *  @file LGSHexDigit.h
 *  @author Jeremy Pereira
 *  @brief Definitions associated with a hex keypad digit
 */
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "LGSNode.h"

/*!
 *  @brief models a hex keypad.
 *
 *  This models a hex keypad.  The hex digit can be set and then read off the
 *  first four outputs.
 *  @todo serialisation of LGSHexDigit possibly
 */
@interface LGSHexDigit : LGSNode

/*!
 *  @brief the hex digit last "pressed".
 * 
 */
@property (assign) int digit;

@end
